package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 桌号管理对象 tb_table_qrcode_association
 * 
 * @author ruoyi
 * @date 2024-09-12
 */
public class TbTableQrcodeAssociation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联ID */
    @Excel(name = "关联ID")
    private Long associationId;

    /** 桌号ID */
    @Excel(name = "桌号ID")
    private Long tableId;

    /** 桌号名 */
    @Excel(name = "桌号名")
    private String tableName;

    /** 桌号二维码 */
    @Excel(name = "桌号二维码")
    private String photo;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long storeId;

    /** 商家ID */
    @Excel(name = "商家ID")
    private Long merchantId;

    public void setAssociationId(Long associationId) 
    {
        this.associationId = associationId;
    }

    public Long getAssociationId() 
    {
        return associationId;
    }
    public void setTableId(Long tableId) 
    {
        this.tableId = tableId;
    }

    public Long getTableId() 
    {
        return tableId;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("associationId", getAssociationId())
            .append("tableId", getTableId())
            .append("tableName", getTableName())
            .append("photo", getPhoto())
            .append("storeId", getStoreId())
            .append("merchantId", getMerchantId())
            .toString();
    }
}
